Link: http://blog.csdn.net/jiahehao/archive/2007/10/22/1837857.aspx
When do we need the settimer function? You need to use the settimer function to execute one thing at a time. The timer method is relatively simple. It usually tells windows a time
The ettimer function is used to create a timer, and the killtimer function is used to destroy a timer. The timer is a system resource and should be destroyed in time after use.
SettimerThe function prototype is as follows:Uint_ptr settimer
When do we need to use the settimer function? You need to use the SetTimer function when you need to do one thing at a time . The method of using timers is simple, usually tells windows a time interval, and then windows periodically triggers the
Turn from: http://blog.csdn.net/ellor/article/details/1714741A timer event, the timer event, is an event that is often used in game programming. It can produce the effect of timed operation. In this article, we will discuss with you how to use the
1. settimer indicates defining a timer. Implement the ontimer event in the specified window (cwnd) according to the defined window, so that the corresponding event can be implemented.
Settimer has two functions.
① A global function: settimer ()
Transfer: http://blog.csdn.net/ellor/article/details/1714741The timer event, the timer event, is in game programming. An event that is often used. It can produce the effect of timed operation. This article. Let's explore how to use the SetTimer ()
Turn from: http://blog.csdn.net/ellor/article/details/1714741A timer event, the timer event, is an event that is often used in game programming. It can produce the effect of timed operation. In this article, we will discuss with you how to use the
Turn from: http://blog.csdn.net/ellor/article/details/1714741A timer event, the timer event, is an event that is often used in game programming. It can produce the effect of timed operation. In this article, we will discuss with you how to use the
Settimer is used to set a timer and start executing the timer in ontimer.
Code Ontimer is the code executed by the timer. Killtimer is used to stop the timer. Settimer is the setting, and ontimer is the response to the settimer message.
Settimer is the code in ontimer that sets a timer and starts to execute the timer. ontimer is the code executed by the timer. Killtimer is used to stop the timer. Settimer is the setting, and ontimer is the response to the settimer message.
Settimer
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.